projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa1078a
)
Fix benign typo in garmin.c.
author
robertl
<robertl>
Wed, 3 Sep 2008 06:05:14 +0000
(06:05 +0000)
committer
robertl
<robertl>
Wed, 3 Sep 2008 06:05:14 +0000
(06:05 +0000)
garmin.c
patch
|
blob
|
history
diff --git
a/garmin.c
b/garmin.c
index bf3a2a944f2e721fdd0879b295fdef1c74f20667..b387790a87e2d5068108ff38f83ef349dc113e99 100644
(file)
--- a/
garmin.c
+++ b/
garmin.c
@@
-980,7
+980,7
@@
route_waypt_pr(const waypoint *wpt)
if (wpt->description) {
strncpy(rte->cmnt, wpt->description, sizeof(rte->cmnt));
- rte->cmnt[sizeof(rte->
ide
nt)-1] = 0;
+ rte->cmnt[sizeof(rte->
cm
nt)-1] = 0;
} else {
rte->cmnt[0] = 0;
}